<?php /* Smarty version 2.6.19, created on 2008-06-23 18:11:42
         compiled from admin/lyric/list_table_form.tpl */ ?>
<form method="post" action="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=lyric&act=multi" id="multi-delete-form" enctype="multipart/form-data" class="lbpdc">
    <?php if (! empty ( $this->_tpl_vars['listing'] )): ?>
     <div class="table-header pkg">
        <input class="button" name="multidel" value="Xóa" type="submit" rel="confirm" title="Bạn chắc chắn muốn xóa?" rev="lyric-id">
    </div>                                                      
    <table class="table-list" cellspacing="0">
        <tr>
            <th width="5%" style="text-align:center"><input type="checkbox" id="allbox" class="checkbox" value="checkall" name="allbox" rev="lyric-id" /></th>
            <th width="5%" align="center">STT</th>   
            <th width="75%" align="left">Tên bài hát</th>
            <th width="5%" align="center">Xóa</th>
        </tr>
       
       <?php $_from = $this->_tpl_vars['listing']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['songs']):
?>
      
        <tr class="<?php if ($this->_tpl_vars['songs_id'] % 2 != 0): ?>row-odd<?php else: ?>row-even<?php endif; ?>">
            <td align="center"><input type="checkbox" class="checkbox songs-id" value="<?php echo $this->_tpl_vars['songs_id']; ?>
" name="songs_id[]"/></td>
            <td align="center" id="edit-lyric-<?php echo $this->_tpl_vars['songs']['id']; ?>
"><a href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=lyric&act=update&id=<?php echo $this->_tpl_vars['songs']['id']; ?>
" ><?php echo $this->_tpl_vars['songs']['id']; ?>
</a></td> 
            <td id="edit-lyric-<?php echo $this->_tpl_vars['songs']['id']; ?>
"><a href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=lyric&act=update&id=<?php echo $this->_tpl_vars['songs']['id']; ?>
" ><?php echo $this->_tpl_vars['songs']['title']; ?>
</a></td>
            <td><a href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=lyric&act=delete&id=<?php echo $this->_tpl_vars['songs']['id']; ?>
" class="delete" rev="songs-item" rel="confirm" title="Bạn chắc chắn muốn xóa?" onclick="javascript: return confirm('Bạn chắc chắn muốn xóa?')">Xóa</a></td>
        </tr>
        <?php endforeach; endif; unset($_from); ?> 
     </table>
      <?php if (! empty ( $this->_tpl_vars['pagination'] )): ?>
    <p>&nbsp;&nbsp;</p>
     <div class="pagination" align="right"><?php echo $this->_tpl_vars['pagination']; ?>
</div>
     <?php endif; ?>   
     <?php endif; ?> 
     <div class="table-footer pkg"></div>
     <div id="edit-lyric"></div>
</form> 